package com.nh.mapper;

import com.nh.po.Tbspec;
import com.nh.po.TbspecExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface TbspecMapper {
    long countByExample(TbspecExample example);

    int deleteByExample(TbspecExample example);

    int deleteByPrimaryKey(Long id);

    int insert(Tbspec record);

    int insertSelective(Tbspec record);

    List<Tbspec> selectByExample(TbspecExample example);

    Tbspec selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") Tbspec record, @Param("example") TbspecExample example);

    int updateByExample(@Param("record") Tbspec record, @Param("example") TbspecExample example);

    int updateByPrimaryKeySelective(Tbspec record);

    int updateByPrimaryKey(Tbspec record);
     @Select("select * from hzitdb.tb_specification")
    List<Tbspec> selectAll();
}